package com.ebupt.migu.music.bannertwo.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ebupt.migu.mediadata.pojo.MediaActivity;
import com.ebupt.migu.music.bannertwo.entity.BannerTwoDetail;
import com.ebupt.migu.music.bannertwo.mapper.BannerTwoDetailMapper;
import com.ebupt.migu.music.bannertwo.service.IBannerTwoDetailService;
import com.ebupt.migu.music.common.entity.ResultObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Comparator;
import java.util.List;
import java.util.Map;


@Service
public class BannerTwoDetailServiceImpl extends ServiceImpl<BannerTwoDetailMapper, BannerTwoDetail> implements IBannerTwoDetailService {
	
	@Autowired
	private BannerTwoDetailMapper bannerTwoDetailMapper;

	@Override
	public List<BannerTwoDetail> selectByMainId(String mainId) {
		return bannerTwoDetailMapper.selectByMainId(mainId);
	}

}
